<?php

    include_once("../service/userService.php");
    $userId = $_GET["id"];
    #default 123
    resetPassword($userId);
    echo "<script>window.location.href='../admin/user-detail.php?action=9&id=".$userId."';</script>";
?>